﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sexybeauty.Core.ExServer.WorkPool.WorkHandle.CommonWork
{
    internal class CommonWorkHandle<T> : IWorkHandle<T>
    {
        public WaitWorkItem Process(T context)
        {
            return new WaitWorkItem() { 
                Action= context as Action<object>,
                Context = null,
                IsDo = true
            };
        }
    }
}
